<?php

namespace SunAdmin\Model;

use think\Model;

class TimerTaskLogModel extends Model
{
    protected $table = 'sunadmin_timer_task_log';

    protected $type = [
        'message'=>'json'
    ];

    public function timerTask()
    {
        return $this->hasOne(TimerTaskModel::class,'id','task_id');
    }
}